# ddl相关命令

# 建表
# 只有列，没有列簇
> create 'student','info','msg'

# 2个列簇
> create 'bigdata:person', {NAME => 'info', VERSIONS => 5}, {NAME => 'msg', VERSIONS => 5}

> help 'describe'

> describe 'student'
> describe 'bigdata:person'

> help 'alter'
alter 't1', NAME => 'f1', VERSIONS => 5 # 修改
alter 'ns1:t1', NAME => 'f1', METHOD => 'delete' # 删除列
alter 'ns1:t1', 'delete' => 'f1' # 删除列

# 修改列属性
> alter 'student', NAME => 'info', VERSIONS => 5

# 增加一列 info1
> alter 'student', NAME => 'info1', VERSIONS => 5

> alter 'student', NAME => 'info1', METHOD => 'delete'

# 删表
> disable 'student'
> drop 'student'